package com.zhou.project.modules.circle.circlePostsComment.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhou.project.modules.circle.circlePostsComment.entity.CirclePostsComment;
import org.apache.ibatis.annotations.Delete;

public interface CircleCommentDao extends BaseMapper<CirclePostsComment> {

    @Delete("delete from ucc_circle_posts_comment where posts_id = #{postsId}")
    int deleteAll(int postsId);
}
